package com.zhihu.jjn.demoproject.service;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.zhihu.jjn.demoproject.entity.User;

/**
 * @author Jiang Jining
 * @date 2020/11/1 11:12
 */
public interface UserService {
    /**
     * Register user demo.
     *
     * @param user user param from front end
     * @return json object
     */
    JSONObject registerUser(User user) throws JsonProcessingException;
}
